FROM openjdk:8
MAINTAINER wdwmcs
ARG JAR_FILE
COPY target/${JAR_FILE} /app.jar
#COPY target/cicd-0.0.1-SNAPSHOT.jar /app.jar
EXPOSE 8080
#CMD ["-jar", "/app.jar"]
#ENTRYPOINT ["java"]
ENTRYPOINT ["java", "-jar", "/app.jar"]

